Release 10.1A: OpenEdge Development:
Internationalizing Applications


New and modified keywords

This section describes inputting Unicode codepoints in 4GL code, in support of supplementary characters.

To input Unicode scalar codepoints in plane 0 (U+0000 to U+FFFF), use this syntax:

Syntax
~uXXXX in  

XXXX

A 4-digit, case-insensitive hex digit.

To input Unicode scalar codepoints in planes 0 – 16 (U+0000 to U+10FFFF), use this syntax:

Syntax
~UXXXXXX  

XXXXXX

A 6-digit, case-insensitive hex digit.

When the 4GL code is parsed, this character value is converted from Unicode to -cpinternal. If the character is not a valid character in -cpinternal, the entire escaped string is passed through. For example, if -cpinternal is 1252, ~u4E00 is passed to the 4GL as is.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095